
package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.dto.ArmFrontTermDto;
import com.ruoyi.common.core.domain.dto.FrontTermDto;
import com.ruoyi.system.mapper.ArmFrontTermMapper;
import com.ruoyi.system.mapper.FrontTermMapper;
import com.ruoyi.system.service.IArmFrontTermService;
import com.ruoyi.system.service.IFrontTermService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @DATE : 2024/06/03 10:18
 */
@Service
public class ArmFrontTermServiceImpl implements IArmFrontTermService {

    @Resource
    private ArmFrontTermMapper mapper;

    @Override
    public AjaxResult selectArmFrontTerm() {
        return AjaxResult.success(mapper.selectArmFrontTerm());
    }

    @Override
    public AjaxResult updateArmFrontTerm(ArmFrontTermDto armFrontTermDto) {
        return AjaxResult.success(mapper.updateArmFrontTerm(armFrontTermDto));
    }
}
